package com.yanqu.road.entity.activity.unionwar;

import com.alibaba.fastjson.annotation.JSONField;
import com.yanqu.road.utils.BigIntegerDeserializer;

import java.math.BigInteger;

/**
 *  商会战-成员募捐（银两）
 */
public class UnionWarUserSilver{
    /**
     * 区服id
     */
    private long serverId;

    /**
     * 玩家id
     */
    private long userId;
    /**
     * 银两
     */
    @JSONField(deserializeUsing = BigIntegerDeserializer.class)
    private BigInteger silver = BigInteger.ZERO;
    /**
     * 退出/不显示
     */
    private boolean quit;
    /**
     * 昵称
     */
    private String nickName;
    /**
     * 职位
     */
    private int position;

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public BigInteger getSilver() {
        return silver;
    }

    public void setSilver(BigInteger silver) {
        this.silver = silver;
    }

    public boolean isQuit() {
        return quit;
    }

    public void setQuit(boolean quit) {
        this.quit = quit;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }
}
